Higher Order Unification via Explicit Substitutions

نویسندگان

  • Gilles Dowek
  • Thérèse Hardin
  • Claude Kirchner
چکیده

Higher order uniication is equational uniication for-conversion. But it is not rst order equational uniication, as substitution has to avoid capture. Thus the methods for equational uniication (such as narrowing) built upon grafting (i.e. substitution without renaming), cannot be used for higher order uniication, which needs speciic algorithms. Our goal in this paper is to reduce higher order uniication to rst order equational uniication in a suitable theory. This is achived by replacing substitution by grafting, but this replacement is not straightforward as it raises two major problems. First, some uniication problems have solutions with grafting but no solution with substitution. Then equational uniication algorithms rest upon the fact that grafting and reduction commute. But grafting and-reduction do not commute in-calculus and reducing an equation may change the set of its solutions. This diiculty comes from the interaction between the substitutions initiated by-reduction and the ones initiated by the uniication process. The diierence is at the variable level. Two kinds of variables are involved: those of-conversion and those of uniication. So, we need to set up a calculus which distinguishes these two kinds of variables and such that reduction and grafting commute. For that, the application of a substitution of a reduction variable to a uniication one must be delayed until this variable is instantiated. Such a separation and a delay are provided by a calculus of explicit substitutions. Uniication in such a calculus can be performed by well-known algorithms such as narrowing, but we present a specialized algorithm for a greater eeciency. At last we show how to relate uniication in-calculus and in a calculus with explicit substitutions. Thus we come up with a new higher order uniication algorithm which eliminates some burdens of the previous algorithms, in particular the functional handling of scopes. Huet's algorithm, can be seen as a speciic strategy for our algorithm, since each of its step is decomposed in elementary ones, giving a more atomic description of the uniication process. Also, solved forms in-calculus can easily be computed from solved forms in-calculus. RRsumm : L'uniication d'ordre suprieur consiste uniier modulo-conversion. Ce n'est donc pas de l'uniication quationnelle modulo-conversion car les substitutions doivent viter les captures. Les mmthodes (comme la surrrduction) permettant d'uniier modulo une thhorie quationnelle sont basses sur l'opration de greee (qui consiste substituer sans renomer) et ne peuvent donc pas s'appliquer directement l'uniication d'ordre suprieur. Ce papier a pour but de rrduire …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Higher-Order Unification via Explicit Substitutions (Extended Abstract)

Higher-order uniication is equational uniication for-conversion. But it is not rst-order equational uniication, as substitution has to avoid capture. In this paper higher-order uniication is reduced to rst-order equational uniication in a suitable theory: the-calculus of explicit substitutions.

متن کامل

Higher - Order Unification via Explicit Substitutions at a Distance

We adapted the unification procedure of Huet for a family of explicit substitutions (ES) calculi. The novelty of this adaptation is that it works for calculi with explicit substitutions that belong to the paradigm known as “at a distance”. In this kind of calculi, which have attracted quite some attention due to their simplicity and applicability, the substitution operation is not propagated ov...

متن کامل

Higher-Order Equational Unification via Explicit Substitutions

We show how to reduce the uniication problem modulo-conversion and a rst-order equational theory E, into a rst-order uni-cation problem in a union of two non-disjoint equational theories including E and a calculus of explicit substitutions. A rule-based uniica-tion procedure in this combined theory is described and may be viewed as an extension of the one initially designed by G. Dowek, T. Hard...

متن کامل

Second-Order Matching via Explicit Substitutions

Matching is a basic operation extensively used in computation. Second-order matching, in particular, provides an adequate environment for expressing program transformations and pattern recognition for automated deduction. The past few years have established the benefit of using explicit substitutions for theorem proving and higher-order unification. In this paper, we will make use of explicit s...

متن کامل

Higher-Order Unification: A structural relation between Huet's method and the one based on explicit substitutions

We compare two different styles of Higher-Order Unification (HOU): the classical HOU algorithm of Huet for the simply typed λ-calculus and HOU based on the λσ-calculus of explicit substitutions. For doing so, first, the original Huet algorithm for the simply typed λ-calculus with names is adapted to the language of the λcalculus in de Bruijn’s notation, since this is the notation used by the λσ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Comput.

دوره 157  شماره 

صفحات  -

تاریخ انتشار 2000